package spring.boot.adminx.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;


@Data
@TableName("sys_role_menu")
public class SysRoleMenu {

    @TableId("sys_menu_id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sysMenuId;

    @TableId("sys_role_id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sysRoleId;
}



